package org.edu.modules.stu.xljk.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-心理健康测试表
 */
@TableName("ve_stu_health_question")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="心理健康测试表对象", description="ve_stu_health_question")
public class HqStuHealthQuestion extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "添加人")
    @Length(max = 32)
        private String userId;

    @TableField
    @ApiModelProperty(value = "标题")
    @Length(max = 100)
        private String title;

    @TableField
    @ApiModelProperty(value = "备注")
    @Length(max = 100)
    private String remark;

    @TableField
    @ApiModelProperty(value = "心里测试内容")
    @Length(max = 65535)
        private String content;

    @TableField
    @ApiModelProperty(value = "心理测试答案解析")
    @Length(max = 65535)
        private String analysis;

    @TableField
    @ApiModelProperty(value = "状态：0=禁用，1=启用")
        private Integer status;
}
